package com.collect.senegal.zhiScene.zhiDsChangeWallet.zhiFollow;

import android.content.Context;

import com.collect.senegal.zhiBase.BaseContract;
import com.collect.senegal.zhiBean.zhiReceive.ZHIRDsChangeWalletEntity;
import com.collect.senegal.zhiBean.zhiReceive.ZHIRDsChangeWalletSmsContentEntity;
import com.collect.senegal.zhiBean.zhiSend.ZHISDSChangeWalletSmsEntity;
import com.collect.senegal.zhiBean.zhiSend.ZHISDSGetChangeWalletInfoEntity;

public class ZHIDsChangeWalletFollowContract {
    interface View extends BaseContract.View {
        /**
         * 错误信息返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-14 17:54
         */
        void onGetErrorInfo();

        /**
         * 电审-获取改钱包单条数据返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void onFetchChangeWalletUserInfo(ZHIRDsChangeWalletEntity zhirDsChangeWalletEntity);

        /**
         * 电审-发送换钱包短信返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void onSendChangeWalletUserSms(ZHIRDsChangeWalletSmsContentEntity zhirDsChangeWalletSmsContentEntity);

        /**
         * 电审-取消订单返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void onCancelApplyOrder();


    }

    interface Presenter extends BaseContract.Presenter<View> {
        /**
         * 电审-获取改钱包单条数据
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void fetchChangeWalletUserInfo(Context context, ZHISDSGetChangeWalletInfoEntity zhisdsGetChangeWalletInfoEntity, boolean showLoading);

        /**
         * 电审-发送换钱包短信
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void sendChangeWalletUserSms(Context context, ZHISDSChangeWalletSmsEntity zhisdsChangeWalletSmsEntity, boolean showLoading);

        /**
         * 电审-取消订单
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void cancelApplyOrder(Context context, ZHISDSChangeWalletSmsEntity zhisdsChangeWalletSmsEntity, boolean showLoading);


    }
}
